package com.ojoin.ojoin.eb_spider.service.impl;

import com.ojoin.ojoin.eb_spider.service.UploadPersonGroupService;
import com.ojoin.ojoin.eb_spider.utils.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * Created by liaowuhen on 2017/3/20.
 */
@Service
public class UploadPersonGroupServiceImpl implements UploadPersonGroupService{
    protected final Logger logger = LoggerFactory.getLogger(this.getClass());

    //@Autowired
    //private DouBaoOssClient douBaoOssClient;

    @Override
    public Response upload(String Message, String token, String type) {
        Response response = new Response();

      /*  try {
            douBaoOssClient.uploadDJFile(genName, in, contextType, sync);
           // ossService.uploadDJFile(key, stream, "application/octet-stream", false);
        } catch (Exception e) {
            logger.error(e.getMessage(), e);
            response.setSuccess(false);
            response.setMsg("up dj error!");
            //Render.toJson2(hResponse, response);
        }*/




        //response.setData(result);

        return response;
    }
}
